[INFO] cloning repository https://github.com/princess-entrapta/cooking
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/princess-entrapta/cooking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprincess-entrapta%2Fcooking", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprincess-entrapta%2Fcooking'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 731d1a1d08ce7384fa5241b8ad43549b0e8452ae
[INFO] fixing princess-entrapta/cooking against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprincess-entrapta%2Fcooking" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/princess-entrapta/cooking
[INFO] finished tweaking git repo https://github.com/princess-entrapta/cooking
[INFO] tweaked toml for git repo https://github.com/princess-entrapta/cooking written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/princess-entrapta/cooking on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/princess-entrapta/cooking already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.121
[INFO] [stderr]   Downloaded pipeline v0.5.0
[INFO] [stderr]   Downloaded spow v0.3.0
[INFO] [stderr]   Downloaded markdown v0.3.0
[INFO] [stderr]   Downloaded bytes v1.7.0
[INFO] [stderr]   Downloaded handlebars v6.0.0
[INFO] [stderr]   Downloaded redis v0.26.1
[INFO] [stderr]   Downloaded indexmap v2.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0d35bd81ab121b8d2440acd0d53f793317a2fed33311a8e5391424a9a925f8f4
[INFO] running `Command { std: "docker" "start" "0d35bd81ab121b8d2440acd0d53f793317a2fed33311a8e5391424a9a925f8f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0d35bd81ab121b8d2440acd0d53f793317a2fed33311a8e5391424a9a925f8f4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d35bd81ab121b8d2440acd0d53f793317a2fed33311a8e5391424a9a925f8f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0d35bd81ab121b8d2440acd0d53f793317a2fed33311a8e5391424a9a925f8f4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]     Checking bytes v1.7.0
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.121
[INFO] [stderr]     Checking mio v1.0.1
[INFO] [stderr]     Checking indexmap v2.3.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking deunicode v1.6.0
[INFO] [stderr]     Checking pipeline v0.5.0
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking slug v0.1.5
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]     Checking tokio v1.39.2
[INFO] [stderr]     Checking markdown v0.3.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking pest v2.7.11
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling pest_meta v2.7.11
[INFO] [stderr]    Compiling pest_generator v2.7.11
[INFO] [stderr]    Compiling pest_derive v2.7.11
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking axum-core v0.4.3
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking h2 v0.4.5
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking spow v0.3.0
[INFO] [stderr]     Checking handlebars v6.0.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking redis v0.26.1
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking hyper-util v0.1.6
[INFO] [stderr]     Checking cooking v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Form`
[INFO] [stdout]  --> src/rest.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::{Form, Json};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/searchdb.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     async fn cache_search(&self, search_tags: &str, results: Vec<String>) -> Result<(), AppError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> src/searchdb.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |             .sadd(format!("search.{search_tags}"), results.clone())
[INFO] [stdout]     |              ^^^^
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]     = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 107 |             .sadd::<_, _, ()>(format!("search.{search_tags}"), results.clone())
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Form`
[INFO] [stdout]  --> src/rest.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use axum::{Form, Json};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/search.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async fn get_item_refs_for_phrase(&self, phrase: &str) -> Result<Vec<ItemRef>, DbError> {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 42 ~     fn get_item_refs_for_phrase(&self, phrase: &str) -> impl std::future::Future<Output = Result<Vec<ItemRef>, DbError>> + Send {async {
[INFO] [stdout] 43 |         let tags = self.get_db().get_tags_from_phrase(phrase).await?;
[INFO] [stdout] ...
[INFO] [stdout] 52 |         Ok(hashset.into_iter().collect())
[INFO] [stdout] 53 ~     } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/search.rs:54:5
[INFO] [stdout]     |
[INFO] [stdout]  54 |     async fn get_item_refs_search_query(
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout]  54 ~     fn get_item_refs_search_query(
[INFO] [stdout]  55 |         &self,
[INFO] [stdout] ...
[INFO] [stdout]  58 |         phrase_max: usize,
[INFO] [stdout]  59 ~     ) -> impl std::future::Future<Output = Result<Vec<ItemRef>, DbError>> + Send {async {
[INFO] [stdout]  60 |         let mut counter: HashMap<ItemRef, usize> = HashMap::new();
[INFO] [stdout] ...
[INFO] [stdout] 115 |         Ok(results)
[INFO] [stdout] 116 ~     } }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/search.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     async fn get_items_for_search(
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 118 ~     fn get_items_for_search(
[INFO] [stdout] 119 |         &self,
[INFO] [stdout] ...
[INFO] [stdout] 124 |         page_num: usize,
[INFO] [stdout] 125 ~     ) -> impl std::future::Future<Output = Result<(Vec<Item>, usize), DbError>> + Send {async {
[INFO] [stdout] 126 |         let search = self.get_cache().get_cached_search(search_query).await?;
[INFO] [stdout] ...
[INFO] [stdout] 142 |         Ok((try_join_all(futures).await?, total_result))
[INFO] [stdout] 143 ~     } }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cooking` (bin "cooking") due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/searchdb.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     async fn cache_search(&self, search_tags: &str, results: Vec<String>) -> Result<(), AppError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail
[INFO] [stdout]    --> src/searchdb.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |             .sadd(format!("search.{search_tags}"), results.clone())
[INFO] [stdout]     |              ^^^^
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]     = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 107 |             .sadd::<_, _, ()>(format!("search.{search_tags}"), results.clone())
[INFO] [stdout]     |                  ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Lang` is never used
[INFO] [stdout]   --> src/schemas.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Lang {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Recipe` is never constructed
[INFO] [stdout]   --> src/schemas.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Recipe {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ingredient` is never constructed
[INFO] [stdout]   --> src/schemas.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Ingredient {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `translate` is never used
[INFO] [stdout]    --> src/schemas.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Trad {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 101 |     pub fn translate(&self, lang: Lang) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SearchCache` is never used
[INFO] [stdout]  --> src/search.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait SearchCache<ItemRef, DbError> {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SearchDb` is never used
[INFO] [stdout]   --> src/search.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait SearchDb<Tag, ItemRef, Item, DbError> {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ItemRepo` is never used
[INFO] [stdout]   --> src/search.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait ItemRepo<Tag, ItemRef, Item, DbError>
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> src/search.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             results: Vec<u64>,
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Lang` is never used
[INFO] [stdout]   --> src/schemas.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum Lang {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Recipe` is never constructed
[INFO] [stdout]   --> src/schemas.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Recipe {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ingredient` is never constructed
[INFO] [stdout]   --> src/schemas.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Ingredient {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `translate` is never used
[INFO] [stdout]    --> src/schemas.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Trad {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 101 |     pub fn translate(&self, lang: Lang) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `should_err` is never read
[INFO] [stdout]    --> src/search.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |     struct TestCache {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 163 |         pub should_err: bool,
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TestCache` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> src/search.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             results: Vec<u64>,
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `should_err` is never read
[INFO] [stdout]    --> src/search.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |     struct TestCache {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 163 |         pub should_err: bool,
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TestCache` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/search.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async fn get_item_refs_for_phrase(&self, phrase: &str) -> Result<Vec<ItemRef>, DbError> {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 42 ~     fn get_item_refs_for_phrase(&self, phrase: &str) -> impl std::future::Future<Output = Result<Vec<ItemRef>, DbError>> + Send {async {
[INFO] [stdout] 43 |         let tags = self.get_db().get_tags_from_phrase(phrase).await?;
[INFO] [stdout] ...
[INFO] [stdout] 52 |         Ok(hashset.into_iter().collect())
[INFO] [stdout] 53 ~     } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/search.rs:54:5
[INFO] [stdout]     |
[INFO] [stdout]  54 |     async fn get_item_refs_search_query(
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout]  54 ~     fn get_item_refs_search_query(
[INFO] [stdout]  55 |         &self,
[INFO] [stdout] ...
[INFO] [stdout]  58 |         phrase_max: usize,
[INFO] [stdout]  59 ~     ) -> impl std::future::Future<Output = Result<Vec<ItemRef>, DbError>> + Send {async {
[INFO] [stdout]  60 |         let mut counter: HashMap<ItemRef, usize> = HashMap::new();
[INFO] [stdout] ...
[INFO] [stdout] 115 |         Ok(results)
[INFO] [stdout] 116 ~     } }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]    --> src/search.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 118 |     async fn get_items_for_search(
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]     |
[INFO] [stdout] 118 ~     fn get_items_for_search(
[INFO] [stdout] 119 |         &self,
[INFO] [stdout] ...
[INFO] [stdout] 124 |         page_num: usize,
[INFO] [stdout] 125 ~     ) -> impl std::future::Future<Output = Result<(Vec<Item>, usize), DbError>> + Send {async {
[INFO] [stdout] 126 |         let search = self.get_cache().get_cached_search(search_query).await?;
[INFO] [stdout] ...
[INFO] [stdout] 142 |         Ok((try_join_all(futures).await?, total_result))
[INFO] [stdout] 143 ~     } }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cooking` (bin "cooking" test) due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0d35bd81ab121b8d2440acd0d53f793317a2fed33311a8e5391424a9a925f8f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d35bd81ab121b8d2440acd0d53f793317a2fed33311a8e5391424a9a925f8f4", kill_on_drop: false }`
[INFO] [stdout] 0d35bd81ab121b8d2440acd0d53f793317a2fed33311a8e5391424a9a925f8f4
